/*******************************************************************************
 * Copyright (c) Jonathan Buck - jonbuck16@gmail.com
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    jonbuck16@gmail.com - initial API and implementation
 *******************************************************************************/
package net.jonbuck.tassoo.ui.preference;

import net.jonbuck.tassoo.ui.Activator;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

/**
 * 
 * 
 * @since 1.0.0
 */
public class TassooPreferencesInitializer extends AbstractPreferenceInitializer {

	/**
	 * 
	 */
	public TassooPreferencesInitializer() {
	}

	/**
	 * 
	 */
	public void initializeDefaultPreferences() {
		IPreferenceStore store = Activator.getDefault().getPreferenceStore();
		store.setDefault("automatic.task.store.open", false);
		store.setDefault("maximize.window", false);
		store.setDefault("window.default.width", 1024);
		store.setDefault("window.default.height", 768);
		store.setDefault("minimize.application.system.tray", true);
		store.setDefault("automatically.save.task.store.when.running", false);
		store.setDefault("automatically.save.minutes", "5");
		store.setDefault("prompt.to.save.task.store.on.exit", true);
		store.setDefault("tasks.filter.complete", false);
	}

}
